package com.sc;

import org.nutz.dao.Dao;
import org.nutz.ioc.Ioc;
import org.nutz.ioc.impl.NutIoc;
import org.nutz.ioc.loader.json.JsonLoader;

import com.sc.main.entitty.MainCourse;

public class Test {

	public static void main(String[] args) {
		Ioc ioc = new NutIoc(new JsonLoader("ioc/"));
		Dao dao = ioc.get(Dao.class);
		dao.create(MainCourse.class, true);
	}
}
